 {% extends 'Reservation/base.html' %}
    {% block body_block %}
        <div class="row clearfix">
          {% if offers %}
                     {% for offer in offers %}
		<div class="col-md-12 column">
                      <h3 class="text-center text-primary">
						Search Results
					</h3>
			<div class="media well">
				<a href="#" class="pull-left"><img src="{{ offer.hotel.HotelImage.url }}" class="media-object" alt='' /></a>
				<div class="media-body">
					<h4 class="media-heading">
                         Hotel: {{ offer.room.hotel.Name }}
					</h4>
                            <p>
                                Offer Start Date:{{ offer.offer_start}}
							</p>
                            <p>
                                Offer End Date:{{ offer.offer_end}}
							</p>
							<p>
                                 Offer discount:{{ offer.offer_discount }}
							</p>
                            <p>
                                 <a class="btn btn-primary" href="/Reservation/offer/{{offer.id}}/ ">Details</a>
							</p>
				</div>
			</div>
            {% endfor %}
              {% else %}
               <h3 class="text-center text-primary">
						No Search Results
					</h3>
            {% endif %}
		</div>
	</div>
 {% endblock %}